Skip to content

Conversation

baweaver
Copy link
Contributor

Clarifies that sum types raise errors from the rightmost (last attempted) type, not necessarily the most relevant error. Addresses confusion mentioned in issue #439.

  • Add inline documentation to Sum class and call_unsafe method
  • Add Error Handling section to sum types documentation

Clarifies that sum types raise errors from the rightmost (last attempted)
type, not necessarily the most relevant error. Addresses confusion
mentioned in issue dry-rb#439.

- Add inline documentation to Sum class and call_unsafe method
- Add Error Handling section to sum types documentation
@radar radar merged commit 7da25fa into dry-rb:main Oct 10, 2025
8 checks passed
@radar
Copy link
Contributor

radar commented Oct 10, 2025

Thanks ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants